package cn.com.chengmandian.service.iot.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@NoArgsConstructor
@Accessors(chain=true)
@ApiModel("换电申请详情")
public class ChargeDetailResponse  implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("业务编号")
    private String businessNo;

    @ApiModelProperty("关联用户id")
    private Integer userId;

    @ApiModelProperty("状态，1、申请验证中，2、验证成功、3验证失败")
    private Integer status;

    @ApiModelProperty("换电类型，1.扫码取新电，2.扫码换电，3.扫码退电")
    private Integer chargeType;

    @ApiModelProperty("状态消息")
    private String message;

    @ApiModelProperty("取消原因")
    private Integer cancelType;

    @ApiModelProperty("操作步骤1.放入电池 2.等待验证 3.取走电池")
    private Integer step;
}
